package com.yycx.common.security;

/**
 * @author zyf
 */
public class SecurityConstants {
    public final static String OPEN_ID = "openid";
    public final static String DOMAIN = "domain";
    public final static String ACCOUNTID = "accountId";
    public final static String AUTHORITY_PREFIX_MENU = "MENU_";
    public final static String AUTHORITY_PREFIX_ROLE = "ROLE_";
    public final static String AUTHORITY_PREFIX_API = "API_";
    public final static String AUTHORITY_PREFIX_ACTION = "ACTION_";

    /**
     * 默认jwt私有信息
     */
    public static final String PRIVATE_CLAIMS = "privateClaims";

    /**
     * 默认jwt私有信息aes密钥
     */
    public static final String DEFAULT_JWT_CLAIMS_AES_KEY = "lb+FH/EzIhyi0RQS";

    /**
     * 默认jwt签名密钥
     */
    public static final String DEFAULT_JWT_SIGN_KEY = "2cde1eaa60fe4af1987f94caa13f29a2";
}
